//
//  NetworkTools.h
//  新浪微博OC
//
//  Created by  justinchou on 16/3/7.
//  Copyright © 2016年  justinchou. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

typedef enum : NSUInteger{
    POST,
    GET
} JustinRequestMethod;

@interface NetworkTools : AFHTTPSessionManager

+ (instancetype)sharedTools;

- (void)request:(JustinRequestMethod)method URLString:(NSString *)urlString parameters:(NSDictionary *)params finished:(void (^)(id result))finished;

@end
